﻿using System;


namespace DailyFx.UI
{
	[AttributeUsage(AttributeTargets.Method)]
    public sealed class MediationSinkAttribute : Attribute
    {
        
        public MediationSinkAttribute ( string topic, TaskKind taskMode)
        {
            this.Topic = topic;
            this.TaskMode = taskMode;
        }

		/// <summary>
		/// 
		/// </summary>
		public string Topic 
		{
			get; 
			private set;
		}

		/// <summary>
		/// 
		/// </summary>
		public TaskKind TaskMode 
		{ 
			get; 
			private set; 
		}

    }
}
